﻿using MediatR;
using ProduceBasicData.Api.DTO;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.ProductionManage.Technology
{
    public class ProcessWorkOrderCommand:IRequest<ApiResult<List<ProcessDto>>>
    {
        /// <summary>
        /// 工单编号
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 工艺路线编号
        /// </summary>
        public int CraftId { get; set; }
        /// <summary>
        /// 存放流程图的json格式字符串
        /// </summary>
        public string? PriviewJson { get; set; }
    }
}
